package com.ethink.warehouse.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ethink.warehouse.api.request.*;
import com.ethink.warehouse.api.response.LogisticsTraceApplyAddResponse;
import com.ethink.warehouse.api.response.LogisticsTraceApplyOrderGetDetailResponse;
import com.ethink.warehouse.api.response.LogisticsTraceApplyOrderQueryResponse;
import com.ethink.warehouse.api.response.LogisticsTraceOrderNoOrderDetailResponse;

import java.util.List;

/**
 * 物流跟进申请表 Service接口
 *
 * @author default
 * @date 2022-12-15
 */
public interface LogisticsTraceApplyOrderService {

    /**
     * 分页查询
     *
     * @param request
     * @return
     */
    Page<LogisticsTraceApplyOrderQueryResponse> queryLogisticsTraceApplyOrder(LogisticsTraceApplyOrderQueryRequest request);

    /**
     * 查询列表
     *
     * @param request
     * @return
     */
    List<LogisticsTraceApplyOrderQueryResponse> listLogisticsTraceApplyOrder(LogisticsTraceApplyOrderListRequest request);

    /**
     * 查询详情
     *
     * @param logisticsTraceApplyOrderId
     * @return
     */
    LogisticsTraceApplyOrderGetDetailResponse getLogisticsTraceApplyOrderById(Long logisticsTraceApplyOrderId);

    LogisticsTraceApplyAddResponse addLogisticsTraceApplyOrder(LogisticsTraceApplyAddRequest addRequest);

    LogisticsTraceApplyAddResponse updateLogisticsTraceApplyOrder(LogisticsTraceApplyUpdateRequest updateRequest);

    List<LogisticsTraceOrderNoOrderDetailResponse> listLogisticsTraceOrderNoOrderDetail(LogisticsTraceOrderTypeOrderListRequest request);
}